package com.neo.office.server.domain.entity;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import lombok.Data;
import lombok.NonNull;

@Data
@TableName(value = "t_politics_status")
@ApiModel(value="PoliticsStatus对象",description = "")
public class PoliticsStatus implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(value="id")
    private Integer id;

    /**
     * 政治面貌
     */
    @NonNull
    @Excel(name = "政治面貌")
    @TableField(value = "name")
    @ApiModelProperty(value="政治面貌")
    private String name;


}